<template>
  <div>
    <div class="pathBox">
      <div class="box" @click="push1">
        <img src="../../assets/shibie.png" alt="">
        <div class="txt">智能识别</div>
        <div class="txt2">
          上传病虫害危害植物症状，或者具体有害生物的照片，让计算机帮助您进行识别。
        </div>
      </div>
      <div class="box" @click="push2">
        <img src="../../assets/zhuanjia.png" alt="">
        <div class="txt">专家判断</div>
        <div class="txt2 imgp">
          上传照片或者小视频，让专家和网友们一起帮您进行诊断。
        </div>
      </div>
      <div class="box" @click="push3">
        <img src="../../assets/fangzhi.png" alt="">
        <div class="txt">防治服务</div>
        <div class="txt2">
          上报基本情况，获得更精准的防治服务信息。
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    push1 () {
      this.$router.push('/Distinguish')
    },
    push2 () {
      this.$router.push('/Diagnosis')
    },
    push3 () {
      this.$router.push('/Prevention')
    }
  }
}
</script>

<style lang="less" scoped>
.pathBox{
  width: 70%;
  height: 30vh;

  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  margin-top: 19%;
  .box{
    width: 20%;
    text-align: center;
    cursor:pointer;
  }
  img{
    width: 180px;
  }
  .imgp{
    height: 160px;
  }
  .txt{
    text-align: center;
    font-weight: 700;
    color: #5e6d82;
    font-size: 18px;
  }
  .txt2{
    text-align: center;
    margin-top: 5px;
    color: #5e6d82;
    font-size: 14px;
  }
}
</style>
